get Number
Get a number variable.
Return
the number value of the variable.
Parameters
key
the variable's key.
target
the layer to read. null returns the value that the scene shows: the value of the active value set, else the default value.
Get the shown value of a number variable. Same as getNumber with no target.